package com.usefullc.demo.vo;
import com.usefullc.common.domain.BaseDomain;
import com.usefullc.system.service.component.extend.ApiField;
import com.usefullc.system.service.component.extend.EnumField;
import com.usefullc.system.service.component.extend.UsefulField;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

import java.util.Date;

/**
 * 测试1返回实体
 * @author: 星空
 * @date: 20220622
 */
@Data
public class Test1Vo extends BaseDomain {

    //useful_auto_generate_section_start


    @ApiModelProperty(notes = "ID")
    private Long id;


    @ApiModelProperty(notes = "删除状态")
    private Boolean delState;


    @ApiModelProperty(notes = "名称")
    private String name;

    @EnumField(value = "userStatusEnum")
    @ApiModelProperty(notes = "状态")
    private Integer status;

    @ApiField(url = "/user/position/listAll", id = "id", value = "name")
    @ApiModelProperty(notes = "职务")
    private Long positionId;


    @ApiModelProperty(notes = "年龄")
    private Integer age;

    @ApiField(url = "/user/dept/listTree", id = "key", value = "title")
    @ApiModelProperty(notes = "部门")
    private Long deptId;


    @ApiModelProperty(notes = "描述")
    private String description;


    @ApiModelProperty(notes = "描述3")
    private String description3;

    @UsefulField(format = "yyyy-MM-dd")
    @ApiModelProperty(notes = "创建时间")
    private Date gmtCreate;

    @UsefulField(format = "yyyy-MM-dd")
    @ApiModelProperty(notes = "修改时间")
    private Date gmtModified;


//useful_auto_generate_section_end

}
